<?php if( $logged ): ?>
<ul>
	<li><?php echo $this->Html->link( __("Dashboard"), "/admin/dashboard", array('escape' => false)) ?></li>
	<?php foreach($modules as $item): ?>
	<li><?php echo $this->Html->link( $item['title'], $item['url'], array('escape' => false)) ?></li>
	<?php endforeach; ?>
	<li style="float: right;"><?php echo $this->Html->link( __('Logout'), '/admin/logout', array('escape' => false)) ?></li>
</ul>
<?php endif; ?>